[react] Setstate Inside Aftercreaterow Hook Fires Error Without

[react] Setstate Inside Aftercreaterow Hook Fires Error Without